package com.adv.ems.model.param;

import com.adv.ems.enums.DateTypeEnum;
import com.adv.ems.enums.SubjectTypeEnum;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class IndexEnergyTimeTrendParam {
    private Long subjectId;
    private SubjectTypeEnum subjectType;
    @NotNull
    private DateTypeEnum toDateType;
    private Long energyId;
    private Long itemId;
    private Long itemOneId;
    private Long itemTwoId;
    @NotEmpty
    private String fromDate;
    private String toDate;
}
